package com.sgcc.epri.dcloud.service;

import com.sgcc.epri.dcloud.pojo.Result;
import com.sgcc.epri.dcloud.pojo.TableHead;

public interface TableHeadService {

    Result queryObjects(String dataType);

    Result insertOne(String treeId, String dataType);

    Result update(TableHead tableHead);

    Result queryIndex(String dataType);

    Result queryAssetByObjectId(String objectId, String dataType, Integer page, Integer limit, String key, String assetType);

    Result updateDifficulty(String type,String tableHeadId,String string, String dataType, String indexId);

    Result upOrDown(String hostId, String rmId);

    void deleteTableHead(String tableHeadId);

    Result queryTableHead(String treeId, String dataType, Integer page, Integer limit);

    Result queryParamContent(String tableHeadId, String type, String dataType, String indexId, String objectId);

    Result conventionalConfiguration(String currentTreeId, String targetTreeId, String dataType);

    Result queryAssetType(String dataType);

    Result queryCurrentTableIndex(String tableHeadId);

    Result copyIndexParam(String type, String tableHeadId, String dataType, String indexIdMe, String indexIdHim);
}
